package demo4;


public class Tect {
    public static void iShape(IShape iShape){
        iShape.draw();
    }

    public static void main(String[] args) {
        Cycle cycle = new Cycle();
        Rect rect = new Rect();
        iShape(cycle);
        iShape(rect);
    }
}
